﻿using Ongoal.Quotation.Common;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Ongoal.Quotation.Service.Model.basemodel
{
    /// <summary>
    /// 数据表信息实体
    /// </summary>
    public class T_CodeItem:TreeBase<T_CodeItem>
    {
        /// <summary>
        /// 所属代码表 
        ///</summary>
        [SugarColumn(ColumnName = "TableID")]
        public int TableID { get; set; }
        /// <summary>
        /// 显示名称 
        ///</summary>
        [SugarColumn(ColumnName = "CodeText")]
        public string? CodeText { get; set; }
        /// <summary>
        /// 代码项值 
        ///</summary>
        [SugarColumn(ColumnName = "CodeValue")]
        public int CodeValue { get; set; }
        /// <summary>
        /// 代码编码 
        ///</summary>
        [SugarColumn(ColumnName = "Code")]
        public string? Code { get; set; }
        /// <summary>
        /// 排序字段 
        ///</summary>
        [SugarColumn(ColumnName = "Index")]
        public int? Index { get; set; }
        /// <summary>
        /// 备注 
        ///</summary>
        [SugarColumn(ColumnName = "Remark")]
        public string Remark { get; set; }
    }
}
